package org.codetranslators.compiler.liveness;

import java.util.Vector;
import java.util.BitSet;

public class CfgProperties 
{
	private Vector useList;
	private Vector defList;
	private boolean isMove;
	
	private BitSet usesBitVector;
	private BitSet defsBitVector;
	
	public CfgProperties(Vector uList, Vector dList, boolean isMoveStm)
	{
		useList = uList;
		defList = dList;
		isMove = isMoveStm;
	}

	public Vector getDefList()
	{
		return defList;
	}

	public Vector getUseList() 
	{
		return useList;
	}

	public boolean isMove() {
		return isMove;
	}

	public BitSet getDefsBitVector()
	{
		return defsBitVector;
	}

	public void setDefsBitVector(BitSet defsBitVector)
	{
		this.defsBitVector = defsBitVector;
	}

	public BitSet getUsesBitVector() 
	{
		return usesBitVector;
	}

	public void setUsesBitVector(BitSet usesBitVector)
	{
		this.usesBitVector = usesBitVector;
	}
	
}
